package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.GoodsCategory;
import cn.wolfcode.car.business.query.GoodsCategoryQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.util.List;

/**
 * 服务预约接口
 */
public interface IGoodsCategoryService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<GoodsCategory> query(GoodsCategoryQuery qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    GoodsCategory get(Long id);


    /**
     * 保存
     * @param goodsCategory
     */
    void save(Long superId,GoodsCategory goodsCategory);

  
    /**
     * 更新
     * @param goodsCategory
     */
    void update(GoodsCategory goodsCategory);

    /**
     * 查询全部
     * @return
     */
    List<GoodsCategory> list();

    void deleteCategory(String ids);
}
